<!-- phần nội dung quản lý - bên phải -->
<div id="content-right">
	<div id="add-product">
		<div id="sidebar-top-product" class="black">
			<div id="img-product" class="left white">
				 <?php echo $title?>
			</div>
			<div id="img-back" class="right white">
				<a class="white" href="javascript:;" onclick="history.go(-1)">Quay lại trang trước</a> 
			</div>
			<div class="clear">
			</div>
		</div>
		<div class="form-product">
			<form  action="" method="post" name="add" id="add">
				<?php if (isset($_SESSION['error_add']) && !empty($_SESSION['error_add'])){?>
					<div class="form-add" align="center">
						<?php echo '<font style="color:red; text-align:center; font-size:15px;">'.$_SESSION['error_add'].'</font>'?>
					</div>
	        	<?php }$_SESSION['error_add'] = NULL;?>
				<div class="form-add">
					<label class="left black">Chọn danh mục cha</label>
					<select class="selectText" name="cat_id">
						<option value="0">Danh mục cha</option>
						<option value="" disabled="disabled">-----------------------------</option>
						<?php foreach ($menu_admin as $menu){?>
							<option value="<?php echo $menu['id']?>"><?php echo $menu['name']?></option>
						<?php }?>
					</select>
				</div>
				<div class="form-add">
					<label class="left black">Tên Menu Admin </label>
					<input type="text" name="name" class="required" />
				</div>
				<div class="form-add">
					<label class="left black">Module</label>
					<input type="text" name="module" class="required" />
				</div>
				<div class="form-add">
					<label class="left black">Link </label>
					<input type="text" class="required" name="link" />
				</div>
				<div class="form-add">
					<label class="left black">Hiển thị</label>
					<div class="check-option">
						<ul>
							<li><input type="radio" name="status" value="1" checked="checked" /> Yes</li>
							<li><input type="radio" name="status" value="0" /> No</li>
						</ul>
					</div>
				</div>
				<div class="clear"></div>
				<div class="button-product">
					<input type="submit" class="save_add" name="cmd" value="Save & Add" style="color: #FFF; font-weight: bold; padding-bottom: 5px;"/>
					<input type="submit" class="submit-product" name="cmd" value="Add" style="margin-left: 15px; color: #FFF; font-weight: bold; padding-bottom: 5px;" />
					<input type="reset" class="reset-product"  value='Cancel' style="color: #FFF; font-weight: bold; padding-bottom: 5px;" />					
				</div>
				<div class="clear"></div>
			</form>                  
		</div>
	</div>
</div><!-- end  content-right -->